import request from '@/utils/request';
import Constants from '@/utils/constants';

const serviceName = 'protable';

export async function queryTable(params) {
  return request(`${Constants.SERVICE_ROOT}/${serviceName}/querytable`, {
    method: 'POST',
    data: {
      ...params,
    },
  });
}
